/*****************************************************************************
* | File      	:   EPD_4in2b_Z99.h

SSD1680A
******************************************************************************/
#ifndef __EPD_4IN2B_Z99_H_
#define __EPD_4IN2B_Z99_H_

#include "../DEV_Config.h"

// Display resolution
#define EPD_4IN2B_Z99_WIDTH       400   
#define EPD_4IN2B_Z99_HEIGHT      300


#define EPD_4IN2B_FULL 0
#define EPD_4IN2B_PART 1

#define EPD_4IN2B_Bwr4   2
#define EPD_4IN2B_Bwr8   3
#define EPD_4IN2B_Bwr16  4


// typedef enum
// {
//   FULL = 0,
//   Grey4_Bwr,
//   Grey8_Bwr,
//   Grey16_Bwr,
// } LUT_TYPE;



void EPD_4IN2B_Z99_Init(uint8_t lut_type=EPD_4IN2B_FULL);
void EPD_4IN2B_Z99_Clear(void);
void EPD_4IN2B_Z99_Display( unsigned char *BW_Image, unsigned char *R_Image);
void EPD_4IN2B_Z99_Sleep(void);
void EPD_4IN2B_Z99_TurnOnDisplay(uint8_t part=EPD_4IN2B_FULL);
void EPD_4IN2B_Z99_Data_Write(UBYTE color,UBYTE *Image_Data,UDOUBLE index,UDOUBLE length);
void EPD_4IN2B_Z99_setDepth(uint8_t i);
// void EPD_4IN2B_Z99_Fast_TurnOnDisplay(void);
int8_t EPD_4IN2B_Z99_ReadTemp();
#endif
